
import duckdb
conn = duckdb.connect("data.db")
conn.sql('CREATE TABLE postgres_db.tbl (id INTEGER, name VARCHAR);')
conn.sql("INSERT INTO postgres_db.tbl VALUES (42, 'DuckDB42');")
conn.sql("select * from postgres_db.tbl;")
conn.table('tbl').limit(5).show()
conn.close()